﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;

namespace DataAccessLayer.PACS
{
    public class PACSDataAccess
    {

        public static string GetStudyInstanceUID(string accessionNumber)
        {
            GestorBD.Query = "SELECT StudyInstanceUid FROM Study WHERE AccessionNumber = '"+accessionNumber+"'";
            return GestorBD.EjecutarSentenciaEnPACS().Rows[0][0].ToString();
        }

    }
}
